#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QApplication>
#include <QMainWindow>
#include <QTranslator>
#include <QLabel>
#include <QPushButton>

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
public:

    void InitLang(QApplication *hApp, QTranslator *translator);
public slots:
    void TransToChinese(bool);
    void TransToEnglish(bool);
    void TransCore(const QString &locale);
    void TransToNext();

    void ShowPcInfo();

private:
    Ui::MainWindow *ui;
    QApplication *m_hApp;
    QTranslator *m_translator;
    QLabel *m_pcInfoLabel;
    QPushButton *m_pcInfoBtn;
};
#endif // MAINWINDOW_H
